from common.random_util import select_one_from_weight_map

print({1: 1, 2: 1} == {1: 1, 2: 1})
print({1: 1, 2: 1} is {1: 1, 2: 1})
s = 0
for i in range(99999):
    t = select_one_from_weight_map({1: 1, 2: 1})
    if t == 1:
        s += 1
print(s / 99999)
